  @keyframes chatkit-spin {
      from {
          transform: rotate(0deg);
      }

      to {
          transform: rotate(360deg);
      }
  }

#personal-shopper-root {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 100;
}

  #personal-shopper-root.is-visible {
      display: flex;
      pointer-events: auto;
  }

  .chatkit-container {
      background-color: #ffffff;
      width: 100%;
      max-width: 360px;
      height: calc(80vh - 70px);
      max-height: calc(100vh - 70px);
      margin-bottom: 70px;
      border-radius: 16px;
      box-shadow: 0 20px 40px rgba(15, 23, 42, 0.32);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      position: relative;
  }

  .chatkit-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      border-bottom: 1px solid #e2e8f0;
      background-color: #ffffff;
      flex-shrink: 0;
  }

  .chatkit-title {
      font-size: 16px;
      font-weight: 600;
      color: #1f2937;
  }

  .chatkit-close {
      background: none;
      border: none;
      color: #1f2937;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      padding: 4px 8px;
      line-height: 1;
  }

  .chatkit-close:focus-visible {
      outline: 2px solid #054861;
      outline-offset: 2px;
  }

  .chatkit-body {
      flex: 1;
      display: flex;
      background-color: #f8fafc;
  }

  .chatkit-body openai-chatkit {
      width: 100%;
      height: 100%;
  }

@media (min-width: 768px) {
    #personal-shopper-root {
        inset: auto;
        bottom: 0;
        right: 0;
    }

    .chatkit-container {
        width: 100vw;
    }
}

@media (max-width: 767px) {
    #personal-shopper-root {
        justify-content: center;
        align-items: flex-end;
    }

    .chatkit-container {
        max-width: none;
        width: 100%;
        height: calc(80vh - 70px);
        max-height: calc(100vh - 70px);
        border-radius: 12px 12px 0 0;
    }
}
